﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="BIZMA.Site.Company.Default" %>
<%@ Register src="~/_controls/Demo/List_Companies.ascx" tagname="List_Companies" tagprefix="uc1" %>

<%@ Register assembly="BIZMA" namespace="BL.BetterControls" tagprefix="cc1" %>
<%@ Register src="../../BL/BIZControls/PageContainer.ascx" tagname="PageContainer" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Contenthead" runat="server">
    <h1>Företag</h1>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">

    

    <uc2:PageContainer ID="pcCompany" runat="server" />

    

</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentRight1" runat="server">
            <asp:RadioButton ID="rbtnSelSingle" AutoPostBack="true" GroupName="selecttype" CssClass="right inline" text="Välj en" runat="server" oncheckedchanged="rbtnSelSingle_CheckedChanged" />
            <asp:RadioButton ID="rbtnSelMulti"  AutoPostBack="true" Text="Välj flera" 
                GroupName="selecttype" runat="server" Checked="True" 
                oncheckedchanged="rbtnSelSingle_CheckedChanged" />
         
            <asp:CheckBox ID="chkHandleListEvent" AutoPostBack="true" 
                Text="Hantera listval" runat="server" 
                oncheckedchanged="chkHandleListEvent_CheckedChanged" />       
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentRight2" runat="server">
                                                    <asp:ListView ID="lv" runat="server">
                                                            <LayoutTemplate> 
                                                                <table title="Du har valt" summary="Det här är de företag som du har valt i listan">
                                                                  <tr>
                                                                        <th>Namn</th>
                                                                    </tr>
                                                                     <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
                                                                </table>    
                                                              </LayoutTemplate>
                                                             <ItemTemplate>
                                                                <tr>
                                                                    <td><%#Eval("Name") %></td>
                                                                </tr>
                                                             </ItemTemplate>
                                                            
                                                    </asp:ListView>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentRight3" runat="server">
    <cc1:_Button ID="_Button1" runat="server" Description="function" DivStyle="" 
        DivType="none" ZurbType="function" />
        <cc1:_Button ID="_Button2" runat="server" Description="negative" DivStyle="" 
        DivType="none" ZurbType="negative" />
        <cc1:_Button ID="_Button3" runat="server" Description="normal" DivStyle="" 
        DivType="none" ZurbType="normal" />
        <cc1:_Button ID="_Button4" runat="server" Description="positive" DivStyle="" 
        DivType="none" ZurbType="positive" />
  
</asp:Content>
